home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
aio_error.z
/
aio_error
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
AAAAIIIIOOOO____EEEERRRRRRRROOOORRRR((((3333)))) AAAAIIIIOOOO____EEEERRRRRRRROOOORRRR((((3333))))
NNNNAAAAMMMMEEEE
aio_error, aio_error64 - return error status of an asynchronous I/O
operation
CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<aaaaiiiioooo....hhhh>>>>
iiiinnnntttt aaaaiiiioooo____eeeerrrrrrrroooorrrr((((ccccoooonnnnsssstttt aaaaiiiiooooccccbbbb____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
iiiinnnntttt aaaaiiiioooo____eeeerrrrrrrroooorrrr66664444((((ccccoooonnnnsssstttt aaaaiiiiooooccccbbbb66664444____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _a_i_o__e_r_r_o_r() function returns the error status associated with the
_a_i_o_c_b_p passed in. The error status for an asynchronous I/O operation is
the _e_r_r_n_o value that would be set by the corresponding _r_e_a_d(_2) or
_w_r_i_t_e(_2) or _f_s_y_n_c(_2) operation. If the operation has not yet completed,
then the error status shall be equal to EINPROGRESS.
The _a_i_o__e_r_r_o_r_6_4() function is identical to _a_i_o__e_r_r_o_r() except that it
takes an _a_i_o_c_b_6_4__t * (see <aaaaiiiioooo....hhhh>). This structure allows for the
specification of a file offset greater than 2 Gigabytes. The user must
define ____AAAABBBBIIII____SSSSOOOOUUUURRRRCCCCEEEE and include ----llllaaaabbbbiiii to access the _a_i_o_6_4 routines.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
aio_read(3), aio_write(3), lio_listio(3), aio_error(3), aio_return(3),
aio_cancel(3), aio_sgi_init(3), read(2), lseek(2), close(2),_exit(2),
exec(2), fork(2).
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
If the asynchronous I/O operation has completed successfully, then 0
shall be returned. If the asynchronous operation has completed
unsuccessfully, then the error status, as described for _r_e_a_d(_2),
_w_r_i_t_e(_2), and _f_s_y_n_c(_2) shall be returned. If the asynchronous I/O has not
yet completed, then EINPROGRESS shall be returned.
If any of the conditions below occur, the _a_i_o__e_r_r_o_r() function shall
return -1 and set _e_r_r_n_o to the corresponding value.
[EINVAL] The _a_i_o_c_b_p argument does not yet refer to an asynchronous
operation whose return status has not yet been retrieved.
PPPPaaaaggggeeee 1111